package model;

public class Customer {
	private int cardId; //卡号
	private String name; //客户姓名
	private int gender; //性别
	private String address; //地址
	private String occupation; //职业
	private String phone; //手机号
	private int cardType; //卡类型
	private int state; //卡状态
	
	public int getCardId() {
		return cardId;
	}
	public void setCardId(int cardId) {
		this.cardId = cardId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getGender() {
		return gender;
	}
	public void setGender(int gender) {
		this.gender = gender;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getOccupation() {
		return occupation;
	}
	public void setOccupation(String occupation) {
		this.occupation = occupation;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public int getCardType() {
		return cardType;
	}
	public void setCardType(int cardType) {
		this.cardType = cardType;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public Customer() {
		// TODO Auto-generated constructor stub
	}
	public Customer(int cardId, String name, int gender, String address, String occupation, String phone, int cardType,
			int state) {
		super();
		this.cardId = cardId;
		this.name = name;
		this.gender = gender;
		this.address = address;
		this.occupation = occupation;
		this.phone = phone;
		this.cardType = cardType;
		this.state = state;
	}
	@Override
	public String toString() {
		return "Customer [cardId=" + cardId + ", name=" + name + ", gender=" + gender + ", address=" + address
				+ ", occupation=" + occupation + ", phone=" + phone + ", cardType=" + cardType + ", state=" + state
				+ "]";
	}
	
	

}
